$("#updateMsgBtn").on("click",function(){
	if(workerObj_normal) {
		workerObj_normal.postMessage("getMsg__:");
	}
});

//临时 清除消息
$("#clearMsgBtn").on('click', function() {
	if(workerObj_normal) {
		workerObj_normal.postMessage("clearMsg:");
	}
	// $("#news_content").empty();
});

// 消息刷新
var newCount = 0;

// tcr
var messageTmp;
var messageTmpData;
function messageShow(result){
	result = result.split(";");
	messageTmp = "";//清空
	
	for (var i=0; i<result.length; i++) {
		if(i%2){//基数
			var time = "";//?
			var type = "";//? 警告?提示?
			var code = result[i-1];
			var message = result[i];

			messageTmpData = code+":"+message;
			messageTmp += '<div id=""><p>'+messageTmpData+'</p></div>';
		}
	}

	$("#news_content").html(messageTmp);	
}